/**
 * Created by minigci.he on 16/9/23.
 */
console.log('---------------------')
console.log('test3')

var value1 = [1,4,-5,10].find((n) => n<0);
console.log(value1);    // -5

var value2 = [1,5,10,15].find(function(value, index, arr){
    return value < 9
})
console.log(value2) // 1